<?php
	// Author: Andy Marti
	// Datum: 14.04.2014
	// ----------------------------------------------------
	// Beschreibung Datei:
	//   Diese Datei enthält die allg. Settingsdaten aus der Datenbank.
	// ----------------------------------------------------
	// Änderungen:
	//
	// ----------------------------------------------------
	//

	/**
	 * @author Andy Marti
	 *
	 */
	class Setting extends Base {
		// ------------------------------------------------
		// Public Variables.
		public $InitialMemberAmount = -1;
		public $MaxShareAssociationFee = -1;
		public $FamilyDiscount = -1;
		public $CommitteeAmount = -1;
		public $OnceFAASAmountAdult = -1;
		public $OnceFAASAmountChild = -1;
		public $Debug = 0;
		// Public Objects.
		// Public methodes.
		
		// ------------------------------------------------
		// Public methodes.
		public function getSettingsData() {
			If ($this->checkInitial()) {
				// Get Settings data from UserDB object.
				$this->UserDb->getSettingsData($this);
			}
		}

		// ------------------------------------------------
		// Public methodes.
		public function setSettingsData() {
			If ($this->checkInitial()) {
				// Set Settings data from UserDB object.
				$this->UserDb->setSettingsData($this);
			}
		}
		
		// ------------------------------------------------
		// Return Classname.
		public function __toString(){
			return get_class();
		}
		
		// ------------------------------------------------
		// Contructor, Destructor.
		/**
		 * Construtor. 
		 * 
		 */
		public function __construct(){
		}
		
		/**
		 * Destructor.
		 *
		 */
		public function __destruct(){
			// Destroy internal objects.
		}
	}
?>